#Get Img file from ftp!
include ../src/Makefile.Res

%.img %.fs:
	wget $(ResourceURL)/$@

.PHONY: all clean dist_clean

all: boot.256.three.partition initrd.ramdisk \
     disk.three.partition disk.one.partition disk.two.partition

boot.256.three.partition:boot.256.three.partition.QD.v2.img
	cp -rf boot.256.three.partition.QD.v2.img boot.256.three.partition

disk.one.partition:disk.one.partition.QD.v2.img
	cp -rf disk.one.partition.QD.v2.img disk.one.partition

disk.two.partition:disk.two.partition.QD.v2.img
	cp -rf disk.two.partition.QD.v2.img disk.two.partition

disk.three.partition:disk.three.partition.QD.v2.img
	cp -rf disk.three.partition.QD.v2.img disk.three.partition

initrd.ramdisk:initrd.ramdisk.fs
	cp -rf initrd.ramdisk.fs initrd.ramdisk
clean:
	rm -rf *.fs *.partition *.ramdisk

dist_clean:clean
	rm -rf *.img


